﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
namespace RookieLibSharp.Progress
{
    /// <summary>
    /// 发送进度信息
    /// </summary>
    [StructLayout(LayoutKind.Sequential ,CharSet = CharSet.Unicode)]

    public struct ProgressDisplayInfo
    {
        /// <summary>
        /// 进度条最大值
        /// </summary>
        public int Maximum;
        public bool bMsg;
        public bool ProgressVisible;
        /// <summary>
        /// 进度条当前进度
        /// </summary>
        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 30)]

        public string Value;
        /// <summary>
        /// 状态显示字符串
        /// </summary>
        [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 20)]
        public string Status;
    }
}
